package com.roc.template.mongo.base;

import org.springframework.data.domain.Sort;

import java.io.Serializable;

/**
 * @ClassName PageModel
 * @Description: TODO
 * @Author Administrator
 * @Date 2020/3/30 15 43
 * @Version V1.0
 **/
public class PageModel implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer pageNum = 1;

    private Integer pageSize = 10;

    private Sort sort;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Sort getSort() {
        return sort;
    }

    public void setSort(Sort sort) {
        this.sort = sort;
    }
}
